package main.java.builder.demo2;

public class Demo {
    public static void main(String[] args) {
        Phone phone = new Phone.Builder()
                .cpu("高通")
                .screen("三星")
                .memory("海力士")
                .mainboard("oppo")
                .build();

        System.out.println(phone.toString());
    }
}
